package h_eekwan.basic;

public class J01_FoodNara {

	public static void main(String[] args) {
		// 1.변수
		String Title;
		String Menu;
		int Num;
		int Soju;
		int Price;
		String Liner;
		
		
		String Menu1;			
		int Num1;
		int Chicken;
		int Price1;
		
		int Taxtot;
		double Taa;
		double Tax;
		
		int Total;
		int Cash;
		int Coins;

		
		Title = "[ 음식나라 ]";
		Liner = "---------------------";
		
		Menu = "소주";
		Num = 2;
		Soju = Num * 3000;
		Price =Num * Soju;
		
		Menu1 = "너나치킨";
		Num1 = 1;
		Chicken = 12000;
		Price1 =Num1 * Chicken;
		
	
		Tax = 0.1;
		Taa = (Soju + Chicken) * Tax;
		Taxtot = Soju + Chicken - (int)Taa;
		
		Total = Soju + Chicken;
		Cash = 50000;
		Coins = Cash - Total;
		
		// 2. 처리
		// 3. 결과 출력
				
		System.out.println(Title);
		System.out.println(Liner);
		System.out.println(Menu +"\t" + Num +"\t" + Price);
		System.out.println(Menu1 +"\t" + Num1 +"\t" + Price1);
		System.out.println(Liner);
		System.out.println("과세합계\t\t"+Taxtot);
		System.out.println("부과세\t\t"+Taa);
		System.out.println(Liner);
		System.out.println("총합계\t\t"+Total);
		System.out.println("받은금액\t\t"+Cash);
		System.out.println("잔돈\t\t"+Coins);
		System.out.println(Liner);
		System.out.println("2014. 07. 07 14:35:24");
		
	}

}
